'''
Created on Apr 19, 2009

@author: Administrator
'''
from django.conf.urls.defaults import *
from django.conf import settings
from com.ericyang.groupshopping.company.models import Company
from com.ericyang.common.web import redirect, page404, response

urlpatterns = patterns('',
                       
    #create company
    (r'^new/$', "com.ericyang.groupshopping.company.views.create_company"),
    
    #list companies
    #(r'^list/$', "com.ericyang.groupshopping.company.views.list_company"),
    
    #delete company
    #(r'^([^/]+)/delete/$', 'com.ericyang.groupshopping.company.views.delete_company'),
    
    #edit company
    (r'^view/$', 'com.ericyang.groupshopping.company.views.edit_company'),

    #edit company
    (r'^edit/$', 'com.ericyang.groupshopping.company.views.edit_company'),
    
    #default view company
    (r'^', "com.ericyang.groupshopping.company.views.view_company"),
)
